﻿/*****************************************************************//**
 * @file   VAOneXMLAdaptorMaterialFE.h
 * @brief  VAOne读写适配器FE材料
 * 
 * @author XingXuanCi (xingxuanci@diso.cn)
 * @date   2024-11-15
 *********************************************************************/
#ifndef VAOneXMLAdaptorMaterialFE_H
#define VAOneXMLAdaptorMaterialFE_H

#include "FITKVAOneXMLIOAPI.h"
#include "FITKAbstractVAOneXMLAdaptor.h"
#include "FITK_Kernel/FITKAdaptor/FITKIOAdaptorFactory.h"

namespace Interface
{
    class FITKAbaMaterial;
}

namespace IO
{
    /**
     * @brief   VAOne读写适配器FE材料
     * @author  XingXuanCi (xingxuanci@diso.cn)
     * @date    2024-11-15
     */
    class FITKVAOneXMLIOAPI VAOneXMLAdaptorMaterialFE : public FITKAbstractVAOneXMLAdaptor
    {
        FITKCLASS(IO, VAOneXMLAdaptorMaterialFE);
    public:

        /**
         * @brief   构造函数
         * @author  XingXuanCi (xingxuanci@diso.cn)
         * @date    2024-11-15
         */
        explicit VAOneXMLAdaptorMaterialFE()= default;
        /**
         * @brief   析构函数
         * @author  XingXuanCi (xingxuanci@diso.cn)
         * @date    2024-11-15
         */
        ~VAOneXMLAdaptorMaterialFE() = default;
        /**
         * @brief   适配器读数据
         * @return  是否执行成功
         * @author  XingXuanCi (xingxuanci@diso.cn)
         * @date    2024-11-15
         */
        bool adaptR() override;
        /**
         * @brief   适配器写数据
         * @return  是否执行成功
         * @author  XingXuanCi (xingxuanci@diso.cn)
         * @date    2024-11-15
         */
        bool adaptW() override;
};
    Register2FITKIOAdaptorFactory(VAOneXML, Interface::FITKAbaMaterial, VAOneXMLAdaptorMaterialFE)
}

#endif // VAOneXMLAdaptorMaterialFE_H
